package org.ims.inv.model.flow;

import java.util.Date;

import org.ims.inv.model.system.ModelAppRole;
import org.ims.inv.model.system.ModelAppUser;

/**
 * Model: 工作流节点
 * 
 * @author Jeccy.Zhao
 *
 */
public class ModelFlowNode
extends ModelFlowBase
{

	/**
	 * Serial UID
	 */
	private static final long serialVersionUID = 8396646274363912065L;
	
	/**
	 * 节点名称
	 */
	protected String nodeTitle;
	
	/**
	 * 节点描述
	 */
	protected String nodeDesc;
	
	/**
	 * 节点标识
	 */
	protected String nodeKey;
	
	/**
	 * 审批角色
	 */
	protected ModelAppRole toAuditRole;
	
	/**
	 * 标志:必须经过的节点
	 */
	protected Integer mandatoryFlag;
	
	/**
	 * 标志:需要过会的节点
	 */
	protected Integer conferenceFlag;
	
	/**
	 * 审批人员
	 */
	protected ModelAppUser auditor;
	
	/**
	 * 审批时间
	 */
	protected Date auditDate;
	
	/**
	 * 审批意见
	 */
	protected String auditComments;
	
	/**
	 * 审批状态
	 */
	protected Integer auditState;
	
	public void setMandatoryFlag(Integer mandatoryFlag)
	{
		this.mandatoryFlag = mandatoryFlag;
	}

	public Integer getMandatoryFlag()
	{
		return mandatoryFlag;
	}

	public void setConferenceFlag(Integer conferenceFlag)
	{
		this.conferenceFlag = conferenceFlag;
	}

	public Integer getConferenceFlag()
	{
		return conferenceFlag;
	}

	public void setToAuditRole(ModelAppRole toAuditRole)
	{
		this.toAuditRole = toAuditRole;
	}

	public ModelAppRole getToAuditRole()
	{
		return toAuditRole;
	}

	public void setNodeDesc(String nodeDesc)
	{
		this.nodeDesc = nodeDesc;
	}

	public String getNodeDesc()
	{
		return nodeDesc;
	}

	public void setNodeTitle(String nodeTitle)
	{
		this.nodeTitle = nodeTitle;
	}

	public String getNodeTitle()
	{
		return nodeTitle;
	}

	public void setAuditor(ModelAppUser auditor)
	{
		this.auditor = auditor;
	}

	public ModelAppUser getAuditor()
	{
		return auditor;
	}

	public void setAuditDate(Date auditDate)
	{
		this.auditDate = auditDate;
	}

	public Date getAuditDate()
	{
		return auditDate;
	}

	public void setAuditComments(String auditComments)
	{
		this.auditComments = auditComments;
	}

	public String getAuditComments()
	{
		return auditComments;
	}

	public void setAuditState(Integer auditState)
	{
		this.auditState = auditState;
	}

	public Integer getAuditState()
	{
		return auditState;
	}

	public void setNodeKey(String nodeKey)
	{
		this.nodeKey = nodeKey;
	}

	public String getNodeKey()
	{
		return nodeKey;
	}

}
